/*
 * Guud.cpp
 *
 *  Created on: 2013-1-23
 *      Author: heqiu
 */

#include "Guud.h"

namespace guud{

bool guud_init() {
	if (SDL_Init(SDL_INIT_EVERYTHING) == -1) {
		return false;
	}
	TTF_Init();
	return true;
}

void guud_sleep(uint32_t uiMSec) {
	SDL_Delay(uiMSec);
}

std::string GuudComm::getIntStr(int32_t i){
	char buf[64];
	sprintf(buf,"%d",i);
	return buf;
}

}


